package happyNumber;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner reader=new Scanner(System.in);
        int n=reader.nextInt();
        System.out.println(n + " is a happy number? " + HappyNumber.isHappy(n));
    }
}
